package com.wlz.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wlz.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    //extends BaseMapper<User>是为了继承BaseMapper里面自带的方法
    //比如 insert()、selectById...
    //当然你肯定可以写你自己需要的业务（写在service.UserService接口里面）

}
